
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>安平管理系统</title>
    <link rel="stylesheet" type="text/css" href="../resource/manage/css/admin_login.css"/>
    <script type="text/javascript" src="../resource/manage/js/util.js"></script>
    <script type="text/javascript" src="../resource/manage/js/jquery.min.js"></script>
    <style type="text/css">
        .error {
            font-size: 50%;
            color: red;
            padding-left: 10px;
        }
    </style>
</head>
<script type="text/javascript">
    <c:if test="${not empty msg }">
    alert("${msg }");
    <c:remove var="msg"/>
    </c:if>
</script>
<body>

<div class="admin_login_wrap" >

    <h1 align="center">用户登录</h1>
    <div class="adming_login_border" style="width: 600px;">
        <div class="admin_input">
            <form action="manage/login?m=doLogin" method="post" onsubmit="return checkForm(this)">
                <ul class="admin_items">
                    <li>
                        <label for="admin">用户名：</label>
                        <input type="text" name="admin" onblur="CheckItem(this)" onfocus="FocusItem(this)" id="admin" size="30" class="admin_input_style" />
                        <span ></span>
                    </li>
                    <li>
                        <label for="password">密码：</label>
                        <input type="password" name="password" onblur="CheckItem(this)" onfocus="FocusItem(this)" id="password" size="30" class="admin_input_style" />
                        <span></span>
                    </li>
                    <li>
                        <label for="code">验证码：</label>
                        <input type="text" name="code" id="code" onblur="CheckItem(this)" onfocus="FocusItem(this)" class="admin_input_style" style="width: 100px;"/>
                        <img src="../resource/manage/images/logo.png" alt="点击换一种" style="height: 30px">
                        <span></span>
                    </li>
                    <li style="padding-left: 10px">
                        <input type="submit" tabindex="3" value="登录"  class="btn btn-primary" />
                    </li>
                </ul>
            </form>
        </div>
    </div>
    <p class="admin_copyright"> &copy; 安心家政平台管理系统 </p>
</div>
</body>
</html>